/**
 */
package com.dingpeikeji.quickdeer.core.modules.driver.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dingpeikeji.quickdeer.core.common.persistence.CrudDao;
import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.driver.entity.TDrivers;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.Office;

/**
 * 司机管理DAO接口
 * @author lh
 * @version 2016-05-25
 */
@MyBatisDao
public interface TDriversDao extends CrudDao<TDrivers> {
	
	public int bindDriver(@Param("mobile") String phone,@Param("openid") String openid);
	public TDrivers getDriverByIdnumber(String idnumber);
	public TDrivers getDriverByMobile(String mobile);
	public TDrivers getDriverByDrvlicno(String drvlicno);
	public TDrivers getDriverByName(TDrivers tDrivers);
}
